Package-level declarations
Types
Android-specific design block of the football match template. Mirrors the backend / iOS design.android object. All fields are optional so the SDK falls back to built-in defaults when the backend omits them.
Static configuration of a football match Live Activity, delivered in the configuration field of the start push. Mirrors the backend / iOS football match configuration DTO.
Static content of the football match template. Field-for-field mirror of the backend / iOS content block. Empty image strings from the backend are kept as-is here and normalized to null at render time.
Dynamic, real-time state of a football match Live Activity, delivered in the liveData field of start / update pushes. Mirrors the backend / iOS football match live data DTO.
Transient, time-bounded message shown on top of a Live Activity (e.g. "Goal cancelled after VAR"). Mirrors the backend / iOS hotMessage ({ id, text, timestamp }, where timestamp is the Unix-epoch-seconds hard expiry). Visibility is the minimum of a local display cap and the backend expiry — matching the iOS behavior.
In-memory representation of a tracked Live Activity. Combines the static configuration (received once with the start event) and the latest dynamic liveData / hotMessage (refreshed by update events). Mirrors the backend / iOS Live Notification contract.
A call-to-action button rendered on the Live Activity. Mirrors an element of the backend / iOS actionSet ({ type, name, url? }). The platform-specific design block from the backend is intentionally not modeled here — Android notification actions do not support custom button styling.
Type of a Live Activity call-to-action button. Mirrors the backend / iOS LiveNotificationActionType:
A single color value resolved to a hex string. Mirrors the backend / iOS IColor type: a solid hex or a gradient (for which Android uses fromHex as the representative solid color, since android.app.Notification.ProgressStyle segments only support solid colors).
Light / dark variant pair for a color. Mirrors the backend / iOS IColorSet ({ lightMode, darkMode }).
Lifecycle event delivered in the event field of a Live Notification push. Mirrors the backend / iOS contract (start / update / end).
Live Notification template identifier. Wire values mirror the backend / iOS contract (e.g. FOOTBALL_MATCH_TRACKING).
All possible phases of a football match. Wire values mirror the backend / iOS MatchPhase exactly (including the OTHER fallback bucket).